package com.hj.saapp.control.adapter;

import android.content.Context;

import com.hj.saapp.R;
import com.hj.saapp.bean.MyUserInfoBean;

import java.util.List;

/**
 * Created by Administrator on 2017/5/8 0008.
 */

public class MyUserInfoAdapter extends CommonAdapter<MyUserInfoBean>{
    public MyUserInfoAdapter(Context context, List<MyUserInfoBean> datas, int layoutId) {
        super(context, datas, layoutId);
    }

    @Override
    public void convert(ViewHolder holder, MyUserInfoBean myUserInfoBean) {
        holder.setText(R.id.yhmTv,myUserInfoBean.getYhm());
        holder.setTag(R.id.dwmcTv,myUserInfoBean.getDwmc());
        holder.setText(R.id.dwdmTv,myUserInfoBean.getDwdm());
        holder.setText(R.id.jsTv,myUserInfoBean.getJs());
    }
}
